<?php //print_r($order); ?>

<h2>Purchase tickets for <?php echo $event['name']; ?></h2>

<table style="width:400px;">
	<tr><td>Date</td><td><?php echo $event['date']; ?> at <?php echo $event['time']; ?></td></tr>
	<tr><td>Location</td><td><?php echo $event['location']; ?><br /><?php echo $event['address']; ?></td></tr>
	<tr><td>Seats</td><td><?php echo $order['Order']['seats']; ?></td></tr>
	<tr><td>Total</td><td>$<?php echo $order['Order']['subtotal']; ?></td></tr>
</table>

<?php

echo $paypal->button('Purchase Tickets', array('test' => true, 'amount' => $order['Order']['subtotal'], 'item_name' => 'Event Tickets for '.$event['name']));

?>